setPositionYMode

abstract fun setPositionYMode(block: DesignBlock, mode: PositionMode)

Set a block's mode for its y position. The position refers to the block's local space, relative to its parent with the origin at the top left. Required scope: "layer/move"

Parameters

block

the block to update.

mode

the y position mode.